﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EPiBoost.Core.Model.TemplateParameters
{
	public class WrapperSettings
	{
		/// <summary>
		/// HTML element type name (Defaults to "div")
		/// </summary>
		public string Element { get; set; }

		/// <summary>
		/// Css Class name of the element (required)
		/// </summary>
		public string Class { get; set; }

		/// <summary>
		/// Additional Css class name for alternating elements
		/// </summary>
		public string AlternatingClass { get; set; }

		/// <summary>
		/// When set to True, wrappers will be rendered in edit mode
		/// </summary>
		public bool EnableInEditMode { get; set; }

		/// <summary>
		/// When set to False, the standard EPiServer parent wrapper div will be rendered
		/// </summary>
		public bool DisableWrapperElement { get; set; }
		
		/// <summary>
		/// When set to False, the standard EPiServer parent wrapper div will be rendered
		/// </summary>
		public bool ShowWrappeElementInEditMode { get; set; }

		/// <summary>
		/// Additional Css class name for the first element
		/// </summary>
		public string FirstClass { get; set; }

		/// <summary>
		/// Additional Css class name for the last element
		/// </summary>
		public string LastClass { get; set; }

		/// <summary>
		/// Additional Css class - replaces {0} with the current index
		/// </summary>
		public string IndexFormat { get; set; }

		public WrapperSettings()
		{
			Element = "div";
			DisableWrapperElement = true;
		}

	}
}
